# @Time : 2024/4/17 09:20:22
# @Author : huangxh
# @Software: PyCharm
from flask import Blueprint
from flask import render_template

index_blueprint = Blueprint('index', __name__)


# 主页
@index_blueprint.route('/', methods=['GET', 'POST'])
def index():
    return render_template('index.html', )


# 首页
@index_blueprint.route('/main', methods=['GET', 'POST'])
def index_main():
    return render_template('index/main.html', )


# IP管理页
@index_blueprint.route('/ipconfig', methods=['GET', 'POST'])
def ipconfig_main():
    return render_template('index/ipconfig.html', )


@index_blueprint.route('/index_v1', methods=['GET', 'POST'])
def index_v1():
    return render_template('demo/index_v1.html', )


@index_blueprint.route('/index_v2', methods=['GET', 'POST'])
def index_v2():
    return render_template('demo/index_v2.html', )


@index_blueprint.route('/index_v3', methods=['GET', 'POST'])
def index_v3():
    return render_template('demo/index_v3.html', )


@index_blueprint.route('/index_v4', methods=['GET', 'POST'])
def index_v4():
    return render_template('demo/index_v4.html', )


@index_blueprint.route('/index_v5', methods=['GET', 'POST'])
def index_v5():
    return render_template('demo/index_v5.html', )
